<div class="bjui-pageContent">
    <form action="${wwwroot}/admin/templatehandler/save" id="editForm" data-toggle="validate" data-alertmsg="false" reloadNavtab="true">
        <input type="hidden" name="id" value="${(templateHandler.id)!}" />
        <div class="pageFormContent" data-layout-h="0">
            <table class="table table-condensed table-hover" width="100%">
                <tbody>
                    <tr>
                        <td>
                            <label for="templateId" class="control-label x85">模板ID：</label>
                            <#--<input type="text" name="templateId" id="templateId" value="${(templateHandler.templateId)!}" data-rule="required" >-->
                            <select name="templateId" id="templateId" data-toggle="selectpicker">
                                <option value="">请选择</option>
                            <#list templateShells as templateShell>
                                <option value="${(templateShell.id)!}" <#if templateShell??&&templateShell.id??&&templateHandler.templateId??&&templateShell.id==templateHandler.templateId>selected</#if>>${(templateShell.name)!}</option>
                            </#list>
                            </select>
                        </td>
                        <td>
                            <label for="clazz" class="control-label x85">类名：</label>
                            <#--<input type="text" name="clazz" id="clazz" value="${(templateHandler.clazz)!}" data-rule="required" >-->
                            <select name="clazz" id="clazz" data-toggle="selectpicker">
                                <option value="">请选择</option>
                            <#list handlers as handler>
                                <option value="${(handler.clazz)!}" <#if handler??&&handler.clazz??&&templateHandler.clazz??&&handler.clazz==templateHandler.clazz>selected</#if>>${(handler.clazz)!}</option>
                            </#list>
                            </select>
                        </td>
                        <td>
                            <label for="seq" class="control-label x85">顺序：</label>
                            <input type="text" name="seq" id="seq" value="${(templateHandler.seq)!}" data-rule="required" >
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </form>
</div>
<div class="bjui-pageFooter" >
    <ul>
        <li><button type="button" class="btn btn-close" data-icon="close">取消</button></li>
        <li><button type="submit" class="btn btn-success" data-icon="save">保存</button></li>
    </ul>
</div>
